package com.qf.dao.mapper;

import com.qf.pojo.dto.QfCourse;
import com.qf.pojo.resVo.OrderResp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@Mapper
public interface QfOrderDao {
    List<OrderResp> findOrderByUserId(@Param("id")Integer userId,@Param("status") Integer status);

    List<QfCourse> findCourseByOrderId(@Param("orderid")String orderid);
}
